﻿
#ifndef __ANIMATIONUTIL__H__
#define __ANIMATIONUTIL__H__

#include "cocos2d.h"
USING_NS_CC;
#include "TSingleton.h"

class AnimationUtil : public TSingleton<AnimationUtil>
{
public:
	//获取plist文件内容,并根据png名字前缀创建动画对象
	static Animation * getPlistFile(std::string plistFile, std::string plistPng, std::string pngName, float delay, int iLoops);

};

#endif